<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        .box1 {
            width: 900px;
            height: 50px;
            margin: 150px auto;
            background-color: #d1aaee;
        }
        span {
            line-height: 50px;
        }
        .box2 {
            width: 150px;
            height: 50px;
            background-color: #25a4bb;
            display: inline-block;
        }

    </style>
</head>
<body>
    <div class="box1">
        <span>这是一行话</span>
        <span>这是一行话</span>
        <div class="box2">

        </div>
    </div>
</body>
</html>